package util;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @fileName: Print
 * @author: Han
 * @date: 2018/5/29 17:26
 * @dscription: 打印
 */
public class Print{

    /**
     * 打印map
     * @param map 打印对象
     */
    public static void printMap(Map<String,List<String>> map){

        Set<String> keySet = map.keySet();
        for (String key : keySet){
            List<String> value = map.get(key);
            for (String string : value){
                System.out.println("key:" + key + ",value:" + string);
            }
        }
    }
}
